package com.xyy.saas.payment.adpater.jdCredit.support;

import com.jddglobal.open.client.DefaultSpiJddClient;
import com.jddglobal.open.support.config.EsuSdkConfig;

public class JdCreditClientFactory {
    public JdCreditClientFactory() {
    }

    public static DefaultSpiJddClient getDefaultSpiJddClient() {

        return DefaultSpiJddClientHolder.defaultSpiJddClient;
    }

    private static class DefaultSpiJddClientHolder {
        private static DefaultSpiJddClient defaultSpiJddClient = new DefaultSpiJddClient(EsuSdkConfig.getAppInfo());

    }
}
